class Solution:
    def intersection(self, nums1: list, nums2: list) -> list:
        return list(set(nums1) & set(nums2))